package main

import (
	"github.com/julienschmidt/httprouter"
	"net/http"
	"gitee.com/Cookie_XiaoD/video_server/scheduler/taskrunner"
)

func main(){
	go taskrunner.Start()
	r:=registerHandlers()
	http.ListenAndServe(":9001",r)
}


func registerHandlers() *httprouter.Router{
	router:=httprouter.New()

	router.GET("/video-delete-record/:vid-id",videoDelRecHandler)

	return router
}
